﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001289 RID: 4745
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SwordTrainingDailyPhaseConfirmScRsp : IMessage<SwordTrainingDailyPhaseConfirmScRsp>, IMessage, IEquatable<SwordTrainingDailyPhaseConfirmScRsp>, IDeepCloneable<SwordTrainingDailyPhaseConfirmScRsp>, IBufferMessage
	{
		// Token: 0x17003C25 RID: 15397
		// (get) Token: 0x0600D4DA RID: 54490 RVA: 0x0023CC5D File Offset: 0x0023AE5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SwordTrainingDailyPhaseConfirmScRsp> Parser
		{
			get
			{
				return SwordTrainingDailyPhaseConfirmScRsp._parser;
			}
		}

		// Token: 0x17003C26 RID: 15398
		// (get) Token: 0x0600D4DB RID: 54491 RVA: 0x0023CC64 File Offset: 0x0023AE64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SwordTrainingDailyPhaseConfirmScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003C27 RID: 15399
		// (get) Token: 0x0600D4DC RID: 54492 RVA: 0x0023CC76 File Offset: 0x0023AE76
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SwordTrainingDailyPhaseConfirmScRsp.Descriptor;
			}
		}

		// Token: 0x0600D4DD RID: 54493 RVA: 0x0023CC7D File Offset: 0x0023AE7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingDailyPhaseConfirmScRsp()
		{
		}

		// Token: 0x0600D4DE RID: 54494 RVA: 0x0023CC85 File Offset: 0x0023AE85
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingDailyPhaseConfirmScRsp(SwordTrainingDailyPhaseConfirmScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.lEODBOPCIJK_ = other.lEODBOPCIJK_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D4DF RID: 54495 RVA: 0x0023CCB6 File Offset: 0x0023AEB6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingDailyPhaseConfirmScRsp Clone()
		{
			return new SwordTrainingDailyPhaseConfirmScRsp(this);
		}

		// Token: 0x17003C28 RID: 15400
		// (get) Token: 0x0600D4E0 RID: 54496 RVA: 0x0023CCBE File Offset: 0x0023AEBE
		// (set) Token: 0x0600D4E1 RID: 54497 RVA: 0x0023CCC6 File Offset: 0x0023AEC6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003C29 RID: 15401
		// (get) Token: 0x0600D4E2 RID: 54498 RVA: 0x0023CCCF File Offset: 0x0023AECF
		// (set) Token: 0x0600D4E3 RID: 54499 RVA: 0x0023CCD7 File Offset: 0x0023AED7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool LEODBOPCIJK
		{
			get
			{
				return this.lEODBOPCIJK_;
			}
			set
			{
				this.lEODBOPCIJK_ = value;
			}
		}

		// Token: 0x0600D4E4 RID: 54500 RVA: 0x0023CCE0 File Offset: 0x0023AEE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SwordTrainingDailyPhaseConfirmScRsp);
		}

		// Token: 0x0600D4E5 RID: 54501 RVA: 0x0023CCEE File Offset: 0x0023AEEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SwordTrainingDailyPhaseConfirmScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.LEODBOPCIJK == other.LEODBOPCIJK && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D4E6 RID: 54502 RVA: 0x0023CD2C File Offset: 0x0023AF2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.LEODBOPCIJK)
			{
				num ^= this.LEODBOPCIJK.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D4E7 RID: 54503 RVA: 0x0023CD84 File Offset: 0x0023AF84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D4E8 RID: 54504 RVA: 0x0023CD8C File Offset: 0x0023AF8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D4E9 RID: 54505 RVA: 0x0023CD98 File Offset: 0x0023AF98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.LEODBOPCIJK)
			{
				output.WriteRawTag(16);
				output.WriteBool(this.LEODBOPCIJK);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D4EA RID: 54506 RVA: 0x0023CDF4 File Offset: 0x0023AFF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.LEODBOPCIJK)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D4EB RID: 54507 RVA: 0x0023CE40 File Offset: 0x0023B040
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SwordTrainingDailyPhaseConfirmScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.LEODBOPCIJK)
			{
				this.LEODBOPCIJK = other.LEODBOPCIJK;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D4EC RID: 54508 RVA: 0x0023CE90 File Offset: 0x0023B090
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D4ED RID: 54509 RVA: 0x0023CE9C File Offset: 0x0023B09C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 64U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.LEODBOPCIJK = input.ReadBool();
				}
			}
		}

		// Token: 0x04005522 RID: 21794
		private static readonly MessageParser<SwordTrainingDailyPhaseConfirmScRsp> _parser = new MessageParser<SwordTrainingDailyPhaseConfirmScRsp>(() => new SwordTrainingDailyPhaseConfirmScRsp());

		// Token: 0x04005523 RID: 21795
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005524 RID: 21796
		public const int RetcodeFieldNumber = 8;

		// Token: 0x04005525 RID: 21797
		private uint retcode_;

		// Token: 0x04005526 RID: 21798
		public const int LEODBOPCIJKFieldNumber = 2;

		// Token: 0x04005527 RID: 21799
		private bool lEODBOPCIJK_;
	}
}
